package com.feicheng.iou.pojo.resourcePublicSeaPOJO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.cglib.core.Local;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResourcePublicSeaParamPOJO {

    private Integer page;   //页码
    private Integer size;   //每页条数
    private String name;    //学生姓名
    private String tel;     //学生电话
    private String source;  //线索来源
    private Integer cu;      //线索添加人
    private String statu;     //线索状态
    private Integer autorId;  //按权限查看,有"可分配"权限的人全部可查看未分配的线索,没有只能看自己的"未分配"线索,已放弃谁都可以看


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resourceCtSearchStartTime;       //添加线索日期搜索起始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resourceCtSearchEndTime;          //添加线索日期搜索结束时间


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resourceAbandonedSearchStartTime;  //放弃搜索起始时间   //这里用resource的 ut做判断  如果该线索被删除，则最后一次修改线索一定没放弃操作.

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime resourceAbandonedSearchEndTime;    //放弃搜索结束时间


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime interviewSearchStartTime;          //接待搜索起始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime interviewSearchEndTime;           //接待搜索结束时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime trySearchStartTime;              //试听搜索起始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime trySearchEndTime;                 //试听搜索结束时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime baomingSearchStartTime;           //报名搜索开始时间

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime baomingSearchEndTime;            //报名搜索结束时间


}
